ClamAV is a free open source cross-platform antivirus engine.It comes with multi-threaded scanner daemon, command line utilities for on demand file scanning and automatic signature updates.The application was developed for Unix and various third parties have developed versions of ClamAV to work on a variety of operating systems like Windows, Linux, OS X, BSD and Solaris.
Install ClamAV on Ubuntu
To install ClamAV on ubuntu, First you need to open your terminal application using the ctrl+alt+t keys and run below command.
sudo apt update
If needed type your Ubuntu password, then run below command in terminal to start the clamav installation.
sudo apt install clamav clamav-daemon -y
Restart your Ubuntu system.
Update Clam Antivirus:
After the installation, update Clam Antivirus virus definition database using below command in terminal app.
sudo freshclam
If you receive any error during the virus definition database update restart your pc and try again and again.
How to scan your system using ClamAV Clam Antivirus
To scan all files on the computer, type the following command in the terminal.
sudo clamscan -r /
Install ClamAV GUI
ClamAV Does not come with a GUI by default. To add the GUI, just install the ClamTK. ClamTk is a frontend (GUI) for ClamAV (Clam Antivirus). To install ClamTk, use the below command in terminal.
sudo apt-get -y install clamav clamtk
After the successful installation of ClamTk restart ubuntu and click the show applications menu and search for ClamTK to open it.